/**
 * 项目名：化工企业安全生产信息化管理平台
 * 日期：    2020-03-17 15:16:57
 * Copyright (c) 2015- -版权所有
 */

package com.joysuch.wwyt.edu.bean;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
public class EduTrainningPlanStatisticsVo implements Serializable {

    // columns START
    // ID
    private Long id;
    // 编号
    @ApiModelProperty(value = "培训计划编号")
    private String code;
    // 名称
    @ApiModelProperty(value = "培训计划名称")
    private String name;
    // 分类ID
    private Long typeId;
    @ApiModelProperty(value = "培训计划分类名称")
    private String typeName;
    // 实施日期
    @ApiModelProperty(value = "实施日期")
    private Date implementTime;
    // 完成日期
    @ApiModelProperty(value = "完成日期")
    private Date finishTime;
    // 培训部门ID
    private Long trainningDepartId;
    @ApiModelProperty(value = "培训部门")
    private String trainningDepartName;
    // 计划年度
    @ApiModelProperty(value = "计划年度")
    private Short planYear;
    // 培训状态 完成/未完成
    @ApiModelProperty(value = "培训状态 完成/未完成")
    private String myTrainStatus;

    @ApiModelProperty(value = "新培训状态 0未开始 1进心中 2已结束")
    private Integer state;

    @ApiModelProperty(value = "课程数量")
    private Integer courseNum;

    @ApiModelProperty(value = "课程总人数")
    private Integer courseUserNum;

    @ApiModelProperty(value = "课程完成人数")
    private Integer courseFinishUserNum;

    @ApiModelProperty(value = "培训记录数量")
    private Integer trainRecordNum;

    @ApiModelProperty(value = "培训记录总人数")
    private Integer trainRecordUserNum;

    @ApiModelProperty(value = "培训通过人数")
    private Integer trainPassNum;

    @ApiModelProperty(value = "培训未通过人数")
    private Integer trainNoPassNum;

    @Data
    public static class SearchTrainningPlan implements Serializable {

        @ApiModelProperty(value = "年度")
        private String planYear;

        @ApiModelProperty(value = "培训计划名称")
        private String name;

        @ApiModelProperty(value = "培训计划编号")
        private String code;

        @ApiModelProperty(value = "培训类型")
        private Long typeId;

        @ApiModelProperty(value = "状态")
        private String myTrainStatus;

        @ApiModelProperty(value = "新培训状态 0未开始 1进心中 2已结束")
        private Integer state;

    }

}
